From: Tapasweni Pathak Date: Mon, 29 Sep 2014 10:31:14 +0000 (+0530) Subject: staging: lustre: include: linux: libcfs: use __packed instead of __attribute__((packed)) X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~5824^2~52 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=fd9176527e78ad9358fcf76011bbede0eb4974f8;p=linux-4.9.git staging: lustre: include: linux: libcfs: use __packed instead of __attribute__((packed)) This patch fixes checpatch.pl warning in libcfs_debug.h file. WARNING: __packed is preferred over __attribute__((packed)) Signed-off-by: Tapasweni Pathak Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h index aa9222cbc7cc..8888b2756174 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h @@ -80,7 +80,7 @@ struct ptldebug_header { __u32 ph_pid; __u32 ph_extern_pid; __u32 ph_line_num; -} __attribute__((packed)); +} __packed; #define PH_FLAG_FIRST_RECORD 1